Class symantec.itools.util.ZOrderUtils
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.util.ZOrderUtils

Object
   |
   +----symantec.itools.util.ZOrderUtils

public final class ZOrderUtils
extends Object
Determines the order components are drawn: first-to-last or last-to-first.


Method Index

 o assumeZOrder(Container, boolean)
Reverses the order of all components in a container if the current environment doesn't draw them as assumed.
 o isFirstDrawnOverSecond()
Determines if the first component is drawn over the second componnet.
 o isSecondDrawnOverFirst()
Determines if the second component is drawn over the first componnet.
 o reverseContainersZOrder(Container)
Reverses the order of all components in a container.

Methods

 o assumeZOrder
public static boolean assumeZOrder(Container container,
                                   boolean assumedFirstDrawnOverSecond)
Reverses the order of all components in a container if the current environment doesn't draw them as assumed.

Parameters:
container - the container with the components to reverse, as needed
assumedFirstDrawnOverSecond - the assumed drawing order. If the actual drawing order matches this, then no component reversal is needed
 o isFirstDrawnOverSecond
public static boolean isFirstDrawnOverSecond()
Determines if the first component is drawn over the second componnet.

 o isSecondDrawnOverFirst
public static boolean isSecondDrawnOverFirst()
Determines if the second component is drawn over the first componnet.

 o reverseContainersZOrder
public static void reverseContainersZOrder(Container container)
Reverses the order of all components in a container.

Parameters:
container - the container with the components to reverse

All Packages  Class Hierarchy  This Package  Previous  Next  Index